home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Select (Limited Edition)
/
Computer Select.iso
/
pcc
/
v05n03
/
rdel.doc
< prev
next >
Wrap
Text File
|
1992-02-13
|
1KB
|
33 lines
RDEL.DOC March 1992 Page 242
PC/Computing
RDEL allows Recursive Deletions with DOS versions
prior to DOS 5.0.
RDEL will sweep through all or part of a disk, deleting files as it goes.
To delete all files with the extension .BAK f from the current drive,
type:
RDEL \*.BAK
In this case, RDEL starts at the root directory and works its way down
through all of its descendants, including every subdirectory on the
disk. If you want to delete all the BAK files from the current
directory and its descendants, type:
RDEL *.BAK
Similarly, you can delete all of the files from the \MISC directory of
drive D: and the descendants of \MISC by typing:
RDEL D:\MISC\*.BAK
RDEL, like DOS's DEL command, skips files marked with hidden, system,
or read-only attributes. Be aware that RDEL can be very dangerous to
use. The command RDEL \*.* will wipe out an entire disk, so be careful
when you use it, and be sure you mean what you type.